<extend name="Base/base" />
<block name='head'>
    <meta charset="utf-8">
    <!--<link href="/Public/Index/css/workflow.css" rel="stylesheet" />--> 
</block>
<block name="content" > 
    <div class="banner_top">
        <div class="banner_work">
            <div class="Unknotted_left">
                <a href="{:U('Flow/lists')}">
                    <h2>{$flowCount|default=0}</h2>
                    <p>未办结工作</p>
                    <span>点击查看</span>
                </a>
            </div>
            <div class="Completed_rigth">
                <a href="{:U('Flow/overLists')}">
                    <h2>{$finishCount|default=0}</h2>
                    <p>已办结工作</p>
                    <span>点击查看</span>
                </a>
            </div>
        </div>
    </div>
    <!--top结束-->
    <div class="user_lists">
        <h3>经常使用</h3>
        <ul>
            <foreach name="uses" item="use" key="key">
                <li class="border"><a href="{:U('form',array('id'=>$use['form_id']))}"><P><img src="/Public/Index/img/icon_{$key}.png"/><span>{$use.flow_name}</span></P></a></li>
            </foreach>
            <li  class="border"><a href="{:U('flowCate')}"><P><img src="/Public/Index/img/icon_more.png" /><span>更多</span></P></a></li>
        </ul>
    </div>

    <if condition="$user eq 'zhangyingheng' or $user eq 'qiaoshoujuan'">
        <div class="user_lists">
            <h3>登录日志</h3>
            <ul>
                <li class="border"><a href="{:U('Index/log')}"><P><img src="/Public/Index/img/icon_more.png"/><span>登录日志</span></P></a></li>
                <!--<li class="border"><a class="location pointer" data-url="{:U('getLocation')}"><P><img src="/Public/Index/img/icon_more.png"/><span>获取位置{$ip}</span></p></a></li>-->
            </ul>
        </div>
    </if>
    <input type="hidden" name="dataUrl" value="{:U('Index/copyDatabase')}">
</block>
<block name="script">
    <script type="text/javascript">

    </script>
</block>
